package com.lee.entity;

import java.sql.Blob;
/**
 * 用户表，顾客和餐馆共同的实体类
 * @author Administrator
 *
 */
public class User {
	private Integer uID;	//用户ID
	private Blob headPic;   //用户头像
	private String uName;	//用户名
	private String uPwd;	//用户密码
	private String uPhone;//用户手机号
	private String uEmail;//用户邮箱地址
	private String uWechat;//用户微信号
	private String uAddress;//餐馆地址
	private Integer deskNum;//餐桌个数
	private String uUrl;//餐馆二维码链接
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	//用户为顾客时的构造器
	public User(String uName, String uPwd, String uPhone, String uEmail,
			String uWechat) {
		super();
		this.uName = uName;
		this.uPwd = uPwd;
		this.uPhone = uPhone;
		this.uEmail = uEmail;
		this.uWechat = uWechat;
	}
	//用户为餐馆时的构造器
	public Integer getuID() {
		return uID;
	}
	public User(Blob headPic, String uName, String uPwd, String uPhone,
			String uEmail, String uWechat, String uAddress, Integer deskNum,
			String uUrl) {
		super();
		this.headPic = headPic;
		this.uName = uName;
		this.uPwd = uPwd;
		this.uPhone = uPhone;
		this.uEmail = uEmail;
		this.uWechat = uWechat;
		this.uAddress = uAddress;
		this.deskNum = deskNum;
		this.uUrl = uUrl;
	}
	public void setuID(Integer uID) {
		this.uID = uID;
	}
	public Blob getHeadPic() {
		return headPic;
	}
	public void setHeadPic(Blob headPic) {
		this.headPic = headPic;
	}
	public String getuName() {
		return uName;
	}
	public void setuName(String uName) {
		this.uName = uName;
	}
	public String getuPwd() {
		return uPwd;
	}
	public void setuPwd(String uPwd) {
		this.uPwd = uPwd;
	}
	public String getuPhone() {
		return uPhone;
	}
	public void setuPhone(String uPhone) {
		this.uPhone = uPhone;
	}
	public String getuEmail() {
		return uEmail;
	}
	public void setuEmail(String uEmail) {
		this.uEmail = uEmail;
	}
	public String getuWechat() {
		return uWechat;
	}
	public void setuWechat(String uWechat) {
		this.uWechat = uWechat;
	}
	public String getuAddress() {
		return uAddress;
	}
	public void setuAddress(String uAddress) {
		this.uAddress = uAddress;
	}
	public Integer getDeskNum() {
		return deskNum;
	}
	public void setDeskNum(Integer deskNum) {
		this.deskNum = deskNum;
	}
	public String getuUrl() {
		return uUrl;
	}
	public void setuUrl(String uUrl) {
		this.uUrl = uUrl;
	}
}
